package com.aduerr.v1shouyin.entity;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.enums.AssignType;

import java.io.Serializable;

/**
 * @author HI
 * @email dev1024@foxmail.com
 * @time 2020/8/8 11:34
 * @change
 * @chang time
 * @class describe
 */


public class TransactionFlowEntity implements Serializable {
    //1,普通收款  2， 会员消费  3,会员充值   4，预授权冻结 5,预授权完成  6，预授权撤销，7，预授权完成撤销  8 核销  10 退款
    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private int id;
    private int printType;
    private String json;

    public TransactionFlowEntity() {
    }

    public TransactionFlowEntity(int id, int printType, String json) {
        this.id = id;
        this.printType = printType;
        this.json = json;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPrintType() {
        return printType;
    }

    public void setPrintType(int printType) {
        this.printType = printType;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }
}
